const team=['aaa','bbb','ccc','ddd'];
const [captain,...players]=team;// ... reseter运算符
console.log(captain,players);